package org.bmind.datasword.config.impl.orient;

import org.bmind.datasword.config.dto.DPreProcFunction;
import org.bmind.datasword.config.dto.DPreProcess;
import org.bmind.datasword.config.impl.OrientConfig;

import com.orientechnologies.orient.core.db.object.ODatabaseObject;

public class OrientPreProcess  implements OrientBaseOp{

	public OrientPreProcess(ODatabaseObject orDb){
		classRegister(orDb);
	}	

	@Override
	public void classRegister(ODatabaseObject orDb) {
		orDb.getEntityManager().registerEntityClass(DPreProcess.class);
		orDb.getEntityManager().registerEntityClass(DPreProcFunction.class);
	}
		

}
